﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class IMapPrxHelper extends RMIProxyObject implements IMapPrx
    {
        public static const NAME:String = "Message.Game.IMap";

        public function IMapPrxHelper()
        {
            name = "IMap";
            return;
        }// end function

        public function convey_async(param1:AMI_IMap_convey, param2:int, param3:SPoint) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("convey");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            param3.__write(_loc_6);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function diversion_async(param1:AMI_IMap_diversion, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("diversion");
            var _loc_5:* = new SerializeStream();
            SeqPointHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getCustomPoint_async(param1:AMI_IMap_getCustomPoint) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getCustomPoint");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getRouletteDrop_async(param1:AMI_IMap_getRouletteDrop, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getRouletteDrop");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function jump_async(param1:AMI_IMap_jump, param2:SPoint) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("jump");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function jumpPoint_async(param1:AMI_IMap_jumpPoint, param2:SPoint) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("jumpPoint");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function move_async(param1:AMI_IMap_move, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("move");
            var _loc_5:* = new SerializeStream();
            SeqPointHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function pass_async(param1:AMI_IMap_pass, param2:EPassType, param3:int, param4:int, param5:SPoint) : void
        {
            var _loc_6:* = makeContext(session);
            var _loc_7:* = makeCall("pass");
            var _loc_8:* = new SerializeStream();
            param2.__write(_loc_8);
            _loc_8.writeInt(param3);
            _loc_8.writeInt(param4);
            param5.__write(_loc_8);
            Outgoing.invokeAsync(_loc_6, _loc_7, _loc_8, param1);
            return;
        }// end function

        public function pickup_async(param1:AMI_IMap_pickup, param2:SEntityId) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("pickup");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function revival_async(param1:AMI_IMap_revival, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("revival");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function saveCustomPoint_async(param1:AMI_IMap_saveCustomPoint, param2:int, param3:String, param4:int, param5:SPoint) : void
        {
            var _loc_6:* = makeContext(session);
            var _loc_7:* = makeCall("saveCustomPoint");
            var _loc_8:* = new SerializeStream();
            _loc_8.writeInt(param2);
            _loc_8.writeString(param3);
            _loc_8.writeInt(param4);
            param5.__write(_loc_8);
            Outgoing.invokeAsync(_loc_6, _loc_7, _loc_8, param1);
            return;
        }// end function

        public function somersault_async(param1:AMI_IMap_somersault, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("somersault");
            var _loc_5:* = new SerializeStream();
            SeqPointHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function sprint_async(param1:AMI_IMap_sprint) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("sprint");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

    }
}
